package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;

import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.model.PrizeItem.Type;

public class YgDrawPrizeRecord {
	private Long id;

	private String sourceCode;

	private Long userId;

	private Type prizeType;

	private String relationCode;

	private BigDecimal rate;

	private String content;

	private String remark;

	private Date createTime;

	private DataStatus status;

	public YgDrawPrizeRecord() {
		super();
	}

	public YgDrawPrizeRecord(Long userId, String sourceCode, Type prizeType, String relationCode, BigDecimal rate,
			String content, String remark, Date createTime) {
		super();
		this.sourceCode = sourceCode;
		this.userId = userId;
		this.prizeType = prizeType;
		this.relationCode = relationCode;
		this.rate = rate;
		this.content = content;
		this.remark = remark;
		this.createTime = createTime;
	}

	public String getSourceCode() {
		return sourceCode;
	}

	public void setSourceCode(String sourceCode) {
		this.sourceCode = sourceCode;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getRelationCode() {
		return relationCode;
	}

	public void setRelationCode(String relationCode) {
		this.relationCode = relationCode == null ? null : relationCode.trim();
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Type getPrizeType() {
		return prizeType;
	}

	public void setPrizeType(Type prizeType) {
		this.prizeType = prizeType;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

}